package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.Repository;

import java.util.List;

public interface RepositoryService {


    void add(Repository repository);

    void excelAdd(List<Repository> list);

    PageResult findPage(QueryPageBean queryPageBean);

    void deleteById(Integer id);

    Repository findById(Integer id);

    void edit(Repository repository);

    List<Repository> findAll();
}
